package com.highcom.mapper;

import com.highcom.pojo.Role;

import java.util.List;

public interface RoleMapper {
    //查询所有
    public List<Role> findRoles();

    //删除一条记录
    public void delRoleById(int id);

    //查询一条记录
    public Role FindRoleById(int id);

    //修改一条记录
    public void modifyRole(Role role);

    //添加一条记录
    public void addRole(Role role);

    //模糊查询
    public List<Role> findRolesLikeQuery(Role role);

}
